package com.wgts.wgts.mvp.model.imp;

import com.wgts.wgts.mvp.model.IHomePageTimeActionFragmentModel;
import com.wgts.wgts.netmodle.HttpResultSubscriber;
import com.wgts.wgts.netmodle.NetService;
import com.wgts.wgts.netmodle.req.TimeProductReq;
import com.wgts.wgts.netmodle.resp.TimeProductEntity;

public class HomePageTimeActionFragmentModel implements IHomePageTimeActionFragmentModel {

    private NetService netService;

    public HomePageTimeActionFragmentModel(NetService netService) {
        this.netService = netService;
    }

    @Override
    public void timeProduct(TimeProductReq req, HttpResultSubscriber<TimeProductEntity> entityHttpResultSubscriber) {
        netService.timeProduct(req, entityHttpResultSubscriber);
    }
}
